# Generated from Lua.g4 by ANTLR 4.7
from antlr4 import *
if __name__ is not None and "." in __name__:
    from .LuaParser import LuaParser
else:
    from LuaParser import LuaParser

# This class defines a complete generic visitor for a parse tree produced by LuaParser.

class LuaVisitor(ParseTreeVisitor):

    def setVisitPurpose(self, purpose):
        self.purpose = purpose

    # Visit a parse tree produced by LuaParser#chunk.
    def visitChunk(self, ctx:LuaParser.ChunkContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#block.
    def visitBlock(self, ctx:LuaParser.BlockContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#Assignment.
    def visitAssignment(self, ctx:LuaParser.AssignmentContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#FunctionCall.
    def visitFunctionCall(self, ctx:LuaParser.FunctionCallContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#Break.
    def visitBreak(self, ctx:LuaParser.BreakContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#DoBlock.
    def visitDoBlock(self, ctx:LuaParser.DoBlockContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#WhileLoop.
    def visitWhileLoop(self, ctx:LuaParser.WhileLoopContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#RepeatLoop.
    def visitRepeatLoop(self, ctx:LuaParser.RepeatLoopContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#IfBlock.
    def visitIfBlock(self, ctx:LuaParser.IfBlockContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#ForLoop.
    def visitForLoop(self, ctx:LuaParser.ForLoopContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#ForIteration.
    def visitForIteration(self, ctx:LuaParser.ForIterationContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#FunctionDefination.
    def visitFunctionDefination(self, ctx:LuaParser.FunctionDefinationContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#LocalFunctionDefination.
    def visitLocalFunctionDefination(self, ctx:LuaParser.LocalFunctionDefinationContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#LocalAssignment.
    def visitLocalAssignment(self, ctx:LuaParser.LocalAssignmentContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#retstat.
    def visitRetstat(self, ctx:LuaParser.RetstatContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#label.
    def visitLabel(self, ctx:LuaParser.LabelContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#funcname.
    def visitFuncname(self, ctx:LuaParser.FuncnameContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#varlist.
    def visitVarlist(self, ctx:LuaParser.VarlistContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#namelist.
    def visitNamelist(self, ctx:LuaParser.NamelistContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#explist.
    def visitExplist(self, ctx:LuaParser.ExplistContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#StringLiteral.
    def visitStringLiteral(self, ctx:LuaParser.StringLiteralContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#OperationUnary.
    def visitOperationUnary(self, ctx:LuaParser.OperationUnaryContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#OperationAddSub.
    def visitOperationAddSub(self, ctx:LuaParser.OperationAddSubContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#FalseLiteral.
    def visitFalseLiteral(self, ctx:LuaParser.FalseLiteralContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#DotDotDot.
    def visitDotDotDot(self, ctx:LuaParser.DotDotDotContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#NilLiteral.
    def visitNilLiteral(self, ctx:LuaParser.NilLiteralContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#OperationBitwise.
    def visitOperationBitwise(self, ctx:LuaParser.OperationBitwiseContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#OperationStrcat.
    def visitOperationStrcat(self, ctx:LuaParser.OperationStrcatContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#NumberLiteral.
    def visitNumberLiteral(self, ctx:LuaParser.NumberLiteralContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#OperationComparision.
    def visitOperationComparision(self, ctx:LuaParser.OperationComparisionContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#AnymousFunction.
    def visitAnymousFunction(self, ctx:LuaParser.AnymousFunctionContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#OperationAnd.
    def visitOperationAnd(self, ctx:LuaParser.OperationAndContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#TrueLiteral.
    def visitTrueLiteral(self, ctx:LuaParser.TrueLiteralContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#PrefixExp.
    def visitPrefixExp(self, ctx:LuaParser.PrefixExpContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#TableConstructor.
    def visitTableConstructor(self, ctx:LuaParser.TableConstructorContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#OperationMulDiv.
    def visitOperationMulDiv(self, ctx:LuaParser.OperationMulDivContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#OperationPower.
    def visitOperationPower(self, ctx:LuaParser.OperationPowerContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#OperationOr.
    def visitOperationOr(self, ctx:LuaParser.OperationOrContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#prefixexp.
    def visitPrefixexp(self, ctx:LuaParser.PrefixexpContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#functioncall.
    def visitFunctioncall(self, ctx:LuaParser.FunctioncallContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#varOrExp.
    def visitVarOrExp(self, ctx:LuaParser.VarOrExpContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#var.
    def visitVar(self, ctx:LuaParser.VarContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#varSuffix.
    def visitVarSuffix(self, ctx:LuaParser.VarSuffixContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#nameAndArgs.
    def visitNameAndArgs(self, ctx:LuaParser.NameAndArgsContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#args.
    def visitArgs(self, ctx:LuaParser.ArgsContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#functiondef.
    def visitFunctiondef(self, ctx:LuaParser.FunctiondefContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#funcbody.
    def visitFuncbody(self, ctx:LuaParser.FuncbodyContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#parlist.
    def visitParlist(self, ctx:LuaParser.ParlistContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#tableconstructor.
    def visitTableconstructor(self, ctx:LuaParser.TableconstructorContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#fieldlist.
    def visitFieldlist(self, ctx:LuaParser.FieldlistContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#field.
    def visitField(self, ctx:LuaParser.FieldContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#fieldsep.
    def visitFieldsep(self, ctx:LuaParser.FieldsepContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#operatorOr.
    def visitOperatorOr(self, ctx:LuaParser.OperatorOrContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#operatorAnd.
    def visitOperatorAnd(self, ctx:LuaParser.OperatorAndContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#operatorComparison.
    def visitOperatorComparison(self, ctx:LuaParser.OperatorComparisonContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#operatorStrcat.
    def visitOperatorStrcat(self, ctx:LuaParser.OperatorStrcatContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#operatorAddSub.
    def visitOperatorAddSub(self, ctx:LuaParser.OperatorAddSubContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#operatorMulDivMod.
    def visitOperatorMulDivMod(self, ctx:LuaParser.OperatorMulDivModContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#operatorBitwise.
    def visitOperatorBitwise(self, ctx:LuaParser.OperatorBitwiseContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#operatorUnary.
    def visitOperatorUnary(self, ctx:LuaParser.OperatorUnaryContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#operatorPower.
    def visitOperatorPower(self, ctx:LuaParser.OperatorPowerContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#number.
    def visitNumber(self, ctx:LuaParser.NumberContext):
        return self.visitChildren(ctx)


    # Visit a parse tree produced by LuaParser#string.
    def visitString(self, ctx:LuaParser.StringContext):
        return self.visitChildren(ctx)



del LuaParser